How do I assign value of button.setAttribute('name' 'value') a javascript variable

welcome to shbcf.ru